package enit

type Login struct {
	Phone    string `json:"phone" form:"phone" binding:"required"`
	Password string `json:"password" form:"password" binding:"required"`
}

type Show struct {
	Id int `json:"id" form:"id" binding:"required"`
}

type Reservation struct {
	CourseId        int    `json:"course_id" form:"course_id" binding:"required"`
	CourseData      string `json:"course_data" form:"course_data" binding:"required"`
	CoursePeoPleNum int    `json:"course_peo_ple_num" form:"course_peo_ple_num" binding:"required"`
	ReservationNum  int    `json:"reservation_num" form:"reservation_num" binding:"required"`
	Stadium         string `json:"stadium" form:"stadium" binding:"required"`
	Address         string `json:"address" form:"address" binding:"required"`
}
type ReservationAdd struct {
	CourseId        int    `json:"course_id" form:"course_id" binding:"required"`
	CourseData      string `json:"course_data" form:"course_data" binding:"required"`
	CoursePeoPleNum int    `json:"course_peo_ple_num" form:"course_peo_ple_num" binding:"required"`
	ReservationNum  int    `json:"reservation_num" form:"reservation_num" binding:"required"`
	Stadium         string `json:"stadium" form:"stadium" binding:"required"`
	Address         string `json:"address" form:"address" binding:"required"`
	Notes           string `json:"notes" form:"notes" binding:"required"`
}

type List struct {
	Status int `json:"status" form:"status" binding:"required"	`
}
